package com.hthy.futures;

import android.os.Environment;


import java.io.File;

/**
 * 配置信息
 * Author:  Mr.bingley
 * Version:
 * Date:  2017/3/13
 */
public class AppConfig {
    // 心跳包信息
    public final static String HEARTORDER = "V0.1000000390000310100000000000000000HB";

    // 远程IP
    public final static String REMOTE_IP = "116.62.24.125";
    public final static String REMOTE_PORT = "8911";  // 交易
    public final static int REMOTEINT = 8511;             //---
    public final static String REMOTE_PORT3 = "9010";  // 行情前置

    // 行情相关的
    public final static String REMOTE_QUOTES_IP = "116.62.24.125"; // ---
    public final static int REMOTE_QUOTES_PORT = 8310;      // ---


    public final static String REMOTE_IP2 = "192.168.10.234";  // 测试工具服务ip
    public final static String REMOTE_PORT2 = "60000";


    // 唐浩那边的
    public final static String REMOTE_IP3 = "192.168.10.238";   // 测试本地ip
    public final static int REMOTEINT3 = 8911;

    public final static String REMOTE_IP4 = "192.168.10.244";   // 行情前置ip (3.22)
    public final static int TEST_REMOTE_PORT4 = 9010;  // 行情前置

    // 测试环境

    public final static String TEST_REMOTE_PORT = "8511";  // 交易
    public final static String TEST_REMOTE_PORT2 = "9010";  // 行情前置


    // 获取交易中心的数据
    //https://116.62.24.201/exchs.json
    public final static String TEADE_CENTER = "https://mobile.hthysoft.com/query.php";


    // 默认存放图片的路径
    public final static String DEFAULT_SAVE_IMAGE_PATH = Environment
            .getExternalStorageDirectory()
            + File.separator
            + "HTHY"
            + File.separator + "hthy_img" + File.separator;

    // 默认存放文件下载的路径
    public final static String DEFAULT_SAVE_FILE_PATH = Environment
            .getExternalStorageDirectory()
            + File.separator
            + "HTHY"
            + File.separator + "download" + File.separator;

    public static final String SAVEQUOTE = "quote";

    public static final String OFFETSHEET = "offershheet";

    public static final String AppConfigContexts = "AppConfigContexts";

    public static  String query_data = AppContext.tongnanEnv ? "tnbh" : "hthy";

    public static String logo = "logo";
}
